package hfjava;

import java.util.Scanner;

public class Demo_2 {
    public static void main(String[] args) {
        String[] dogs={"金毛","沙皮","阿拉斯加","拉布拉多","法斗","英斗","博美","柯基","柴犬","牛头梗"};
        Scanner input = new Scanner(System.in);
        System.out.println("请输入");
        String animal=input.next();
        boolean flag=false;
        for (String dog : dogs) {
            if (animal .equals(dog)){
               flag=true;
            }
        }
        if (flag){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
    }
}
